package com.xxx.pojo;

import java.math.BigDecimal;

public class ShoppingCart {

    String dishName;
    String img;
    Long userId;
    Long dishId;
    Long packageId;
    int num;
    BigDecimal price;
    String createTime;

    @Override
    public String toString() {
        return "ShoppingCart{" +
                "dishName='" + dishName + '\'' +
                ", img='" + img + '\'' +
                ", userId=" + userId +
                ", dishId=" + dishId +
                ", packageId=" + packageId +
                ", num=" + num +
                ", price=" + price +
                ", createTime='" + createTime + '\'' +
                '}';
    }

    public ShoppingCart() {
    }

    public ShoppingCart(String dishName, String img, Long userId, Long dishId, Long packageId, int num, BigDecimal price, String createTime) {
        this.dishName = dishName;
        this.img = img;
        this.userId = userId;
        this.dishId = dishId;
        this.packageId = packageId;
        this.num = num;
        this.price = price;
        this.createTime = createTime;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDishId() {
        return dishId;
    }

    public void setDishId(Long dishId) {
        this.dishId = dishId;
    }

    public Long getPackageId() {
        return packageId;
    }

    public void setPackageId(Long packageId) {
        this.packageId = packageId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
